<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


<%
	String path = request.getContextPath();
	String rootPath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ "/";
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("basePath", basePath);
	request.setAttribute("rootPath", rootPath);
	pageContext.setAttribute("newLineChar", "\n");
%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>


<script type="text/javascript" src="<%=basePath%>js/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/plugins/layer/layer.js"></script>
<script type="text/javascript" src="<%=basePath%>js/task.js"></script>
</head>
<title>任务日志</title>
<body>
	<table>
	<c:forEach  items="${logList }" var="jobLog">
		<tr>
			<td>
			${jobLog.logId }
			</td>
			<td>
			${jobLog.jobId }
			</td>
			<td>
			${jobLog.beanName }
			</td>
			<td>
			${jobLog.methodName}
			</td>
			<td>
			${jobLog.params}
			</td>
			<td>
			${jobLog.params}
			</td>
			<td>
			<c:if test="${jobLog.status==0}">
			成功
			</c:if>
			<c:if test="${jobLog.status==1}">
			失败
			</c:if>
			</td>
			<td>
			${jobLog.error}
			</td>
			<td>
			${jobLog.times}
			</td>
			<td>
			${jobLog.createTime}
			</td>
		</tr>
		</c:forEach>
	</table>
</body>
</html>




